home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / tutorials / custEducation / opengl2 / include / auxDebug.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-02  |  1.8 KB  |  70 lines

  1. /*
  2.  * Copyright 1993, 1994, Silicon Graphics, Inc.
  3.  * All Rights Reserved.
  4.  *
  5.  * This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
  6.  * the contents of this file may not be disclosed to third parties, copied or
  7.  * duplicated in any form, in whole or in part, without the prior written
  8.  * permission of Silicon Graphics, Inc.
  9.  *
  10.  * RESTRICTED RIGHTS LEGEND:
  11.  * Use, duplication or disclosure by the Government is subject to restrictions
  12.  * as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
  13.  * and Computer Software clause at DFARS 252.227-7013, and/or in similar or
  14.  * successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -
  15.  * rights reserved under the Copyright Laws of the United States.
  16.  */
  17.  
  18.  
  19. #include <X11/X.h>
  20.  
  21. /*
  22.  *   List the X event names for human consumption
  23.  */
  24.  
  25. static char *eventName[] = {
  26.     "ReservedForProtocolUse",
  27.     "ReservedForProtocolUse",
  28.     "KeyPress",
  29.     "KeyRelease",
  30.     "ButtonPress",
  31.     "ButtonRelease",
  32.     "MotionNotify",
  33.     "EnterNotify",
  34.     "LeaveNotify",
  35.     "FocusIn",
  36.     "FocusOut",
  37.     "KeymapNotify",
  38.     "Expose",
  39.     "GraphicsExpose",
  40.     "NoExpose",
  41.     "VisibilityNotify",
  42.     "CreateNotify",
  43.     "DestroyNotify",
  44.     "UnmapNotify",
  45.     "MapNotify",
  46.     "MapRequest",
  47.     "ReparentNotify",
  48.     "ConfigureNotify",
  49.     "ConfigureRequest",
  50.     "GravityNotify",
  51.     "ResizeRequest",
  52.     "CirculateNotify",
  53.     "CirculateRequest",
  54.     "PropertyNotify",
  55.     "SelectionClear",
  56.     "SelectionRequest",
  57.     "SelectionNotify",
  58.     "ColormapNotify",
  59.     "ClientMessage",
  60.     "MappingNotify"
  61. };
  62.  
  63. /**************************************************************************
  64.  *   Function Prototypes
  65.  **************************************************************************/
  66.  
  67. int           auxXErrorHandler( Display *, XErrorEvent * );
  68. GLvoid        auxPrintVisualInfo( XVisualInfo * );
  69. GLvoid        auxPrintAttributeList( int * );
  70.